home *** CD-ROM | disk | FTP | other *** search
- /* Person.h
- *
- * You may freely copy, distribute, and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to its
- * fitness for any particular use.
- *
- *
- * A simple class describing a person object.
- *
- *
- *------------------------------------------------------------------------*/
- #import <foundation/NSObject.h>
- #import <foundation/NSString.h>
-
-
-
-
- @interface Person : NSObject
- {
- id firstname;
- id lastname;
- id city;
- }
-
- /*--------------------------------------------------------------------------
- * Accessors
- *------------------------------------------------------------------------*/
- - firstname;
- - lastname;
- - city;
-
- - (void) setFirstname:aString;
- - (void) setLastname:aString;
- - (void) setCity: aString;
-
-
-
- @end
-